#ifndef COLORTRIANGLE_H
#define COLORTRIANGLE_H

#include "Triangle.h"
#include "ColorVertex.h"

class ColorTriangle : public Triangle
{
    public:
        ColorTriangle(Vertex3D a, Vertex3D b, Vertex3D c, ColorVertex colA = ColorVertex(), ColorVertex colB = ColorVertex(),ColorVertex colC = ColorVertex());
        virtual ~ColorTriangle();

        ColorVertex Getcolor(int i) { return color[i]; }
        void Setcolor(ColorVertex val, int i) { color[i] = val; }
    protected:
    private:
        ColorVertex color[3];
};

#endif // COLORTRIANGLE_H
